@import "./base.less";

@rootSise: 3.75vw;
@colorPrimary: #fb7299;

body{
    background-color: #f1f1f1;
}
.header {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: (84 / @rootSise);
  top: 0;
  left: 0;
  padding: 0 (15 / @rootSise) 0 (10 / @rootSise);
  border-bottom: 1px solid #ededed;
  background-color: #fff;
  .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: (44 / @rootSise);
    .left {
      .logo {
        a {
          color: @colorPrimary;
          i.iconfont {
            font-size: 7.46667vw;
          }
        }
      }
    }
    .right {
      display: flex;
      justify-content: space-between;
      .search {
        margin-right: (15 / @rootSise);
        i.iconfont {
          color: #ccc;
          font-size: 5.86667vw;
        }
      }
      .login {
        color: #333;
        width: 6.4vw;
        height: 6.4vw;
        margin-right: (15 / @rootSise);
      }
      .app {
        height: 6.4vw;
      }
    }
  }
  .bottom {
    display: flex;
    justify-content: space-between;
    height: (40 / @rootSise);
    line-height: (40 / @rootSise);
    ul {
      display: flex;
      li {
        margin: 0 4.26667vw;
        a {
          color: #333;
        }
        &.active {
          a {
            color: @colorPrimary;
          }
          border-bottom: 2px solid @colorPrimary;
        }
      }
    }
    .more {
      a {
        i.iconfont {
          font-size: 5.33333vw;
          color: #999;
        }
      }
    }
  }
}
.content {
    background-color: #fff;
  .main {
    display: flex;
    flex-wrap: wrap;
    margin-top: (84 / @rootSise);
    .item {
      padding: 2.13333vw 2.33333vw;
      // width: 50vw;
      width: 50%;
      &:nth-child(2n) {
        padding-left: 0;
      }
      .pic {
        height: (100 / @rootSise);
        border-radius: (5 / @rootSise);
        overflow: hidden;
        position: relative;
        .tool-bar {
          position: absolute;
          width: 100%;
          height: (30 / @rootSise);
          background-color: rgba(0, 0, 0, 0.3);
          left: 0;
          bottom: 0;
          display: flex;
          justify-content: space-between;
          align-items: center;
          color: #fff;
          padding: 0 (5 / @rootSise);
          span {
            font-size: 3.2vw;
          }
        }
      }
      p.text {
        margin-top: 1.6vw;
        font-size: 3.2vw;
        color: #212121;
      }
    }
  }
  .more {
      height: (80/@rootSise);
      line-height: (80/@rootSise);
      a{
          color: #999;

      }
        text-align: center;
  }
}
.m-footer{
    margin: (20/@rootSise) 0 (80/@rootSise);
    color: #999;
    font-size: 3.2vw;
    line-height: 6.4vw;
    text-align: center;
}

.footer {
  position: fixed;
  bottom: (20 / @rootSise);
  left: 0;
  width: 100%;
  height: (40 / @rootSise);
  padding: 0 (20 / @rootSise);
  a {
    display: block;
    text-align: center;
    line-height: (40 / @rootSise);
    background-color: @colorPrimary;
    border-radius: (40 / @rootSise);
    color: #fff;
  }
}
